package znet

import "zinx/ziface"

type Request struct {
	/// 链接
	Conn ziface.IConnection
	/// 数据
	data []byte
}

func (r *Request) GetConn() ziface.IConnection {
	return r.Conn
}

/// 得到请求的数据
func (r *Request) Getdata() []byte{
	return r.data
}
